home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 2090 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  2.0 KB

  1. Path: newsfeed.tip.net!usenet
  2. From: mikael.berglund@amiga.pp.se (Mikael Berglund)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: YASL (was: AsynchIO (was: fastest file read method ??))
  5. Date: 26 Jan 1996 22:54:44 GMT
  6. Organization: Uniplus Internet Access
  7. Message-ID: <1349.6599T1259T2701@amiga.pp.se>
  8. References: <w9YbsMD4ACazz9@jeff.dame.shnet.org> <w+RYXMD4FC8aRz1@_crisi.blackbox.shnet.org>
  9.     <4dsalp$t68@news1.halcyon.com> <4du0ju$84b@news.sdd.hp.com>
  10.     <4e2e76$9k3@toad.stack.urc.tue.nl> <4e3j8v$jd0@news.sdd.hp.com>
  11.     <4e7si4$ore@tuegate.tue.nl> <4e8asc$rht@news.sdd.hp.com>
  12. NNTP-Posting-Host: a711011.dial.tip.net
  13. X-Newsreader: THOR 2.22 (Amiga;TCP/IP) *UNREGISTERED*
  14.  
  15. In a message 25-Jan-96 17:24:44 Jeff Grimmett <jgrimm@sdd.hp.com> wrote:
  16.  
  17. >My opinion as such differs from yours.  I have over a dozen so-called
  18. >shared libraries in my LIBS: directory that are shared by ONE program,
  19. >this is SHARING? What uses hyperion.library and centurion.library?  One
  20. >program that I'm aware of.  If something else does, I don't have it.
  21.  
  22. But you miss one thing here. The ONE program using the library would still
  23. have to link it into the code thus making the code bigger and take up more
  24. or less the same diskspace.
  25.  
  26. If this library is placed in LIBS: or in the programs home directory doesn't
  27. really matter does it?
  28.  
  29. Granted, programmers should not place the library by default in LIBS: but
  30. use the home directory if they are fairly sure no one else is using it. In
  31. fact this is supported by OpenLibrary() which first tries to load the
  32. library from the current directory and if failing trying LIBS:. If others
  33. use it the user himself can move it to LIBS: so all programs can benefit
  34. from it.
  35.  
  36. From a programmers point of view there are many reasons to place code in a
  37. shared library the most significant would be code reusability. Also it is
  38. easy to flush libraries from memory that you do not need opposed to the
  39. overlay technique which IMHO leaves many wishes to be satisfied.
  40.  
  41. --
  42.   Regards TMB    PGP public key available
  43.  
  44.